import { constantRoutes } from '@/router'

const state = {
  menuList: [...constantRoutes]
}

const mutations = {
  updateMenuList(state, list) {
    state.menuList = [...constantRoutes, ...list]
  }
}

const actions = {

}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}

